package model

type ArticleContent struct {
	ID        uint64 `gorm:"primaryKey;autoIncrement;comment:'文章内容id'" json:"id"`
	ArticleID uint64 `gorm:"type:bigint;not null;comment:'文章id';index:idx_article_id" json:"article_id"`
	Content   string `gorm:"type:text;comment:'教程正文'" json:"content"`
}

func (ArticleContent) TableName() string {
	return "t_article_content"
}
